
<% breadcrumb :categories %>

<div class="page-header row">
  <div class="col-md-8">
    <h3>网站结构</h3>
  </div>
  <div class="col-md-4 text-right">
    <%= link_to "新建页面", new_admin_category_path, :class => "btn btn-success" %>
  </div>
</div>

<ol class="sortable_tree" data-max_levels="5" data-rebuild_url="<%= rebuild_admin_categories_path %>">
  <%= sortable_tree @categories %>
</ol>